<!DOCTYPE html>
<html>
<head>
<title>WebSocket Chat Client</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<!--<script type="text/javascript" src="prototype.js"></script>-->

<!-- SWFObject and FABridge and only needed for the Flash WebSocket
         fallback. If the current browser supports WebSockets natively these
         are not needed. -->
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/FABridge.js"></script>
<link rel="stylesheet" href="css/chat.css" />
<script src="js/jquery-1.6.2.js"></script>
<script 
	src="js/jquery.mobile-1.0b2.min.js"></script>
<link rel="stylesheet"
	href="css/jquery.mobile-1.0b2.min.css" />
<script type="text/javascript" src="js/chat.js"></script>
<link rel="stylesheet"
	href="css/jquery.bubblepopup.v2.3.1.css" />
	<script
	src="js/jquery.bubblepopup.v2.3.1.min.js"></script>
	

</head>
<body>
	<div data-role="page" id="inichat">
		<div data-role="header" style="height: 50px;" data-position="fixed">
			<h1>RTT-Web</h1>

			<ul class="ulmenu">
				<li class="menu1" he>
					<p>
						<a class="amenu" href="#">Home</a>
					</p>
					<p class="subtext">Amigos</p>
				</li>
				<!--  <li class="menu2">
					<p>
						<a class="amenu" href="#">Notifications</a>
					</p>
					<p class="subtext">Notificaciones</p>
				</li>-->
				<li class="menu3">
					<p>
						<a class="amenu" href="#">Login</a>
					</p>
					<p class="subtext">Login</p>
				</li>
				<li class="menu4">
					<p>
						<a class="amenu" href="#">Options</a>
					</p>
					<p class="subtext">Opciones</p>
				</li>
				<li class="menu5">
					<p>
						<a class="amenu" href="#">Sign in</a>
					</p>
					<p class="subtext">Registrarse</p>
				</li>
			</ul>


		</div>
		<!-- /header -->
		<div data-role="content">
			<br> <br> <br /> <br />
			<div id="login">
				<div data-role="fieldcontain">
					<label for="name">Type your Name:</label> <input type="text"
						name="name" id="name" value="" />
				</div>
				<div data-role="fieldcontain">
					<label for="name">Type your PassWord:</label> <input
						type="password" name="passw" id="password" value="" />
				</div>
				<input type="button" id="connect" value="Connect" />
				<div id="loginresult"></div>
			</div>
			<div id="register" style="display:none;">
				<div data-role="fieldcontain">
					<label for="name">Type your UserName:</label> <input type="text"
						name="name" id="name1" value="" />
				</div>
				<div data-role="fieldcontain">
					<label for="name">Type your PassWord:</label> <input
						type="password" name="passw" id="password1" value="" />
						<label for="name">Confirm PassWord:</label> <input
						type="password" name="passw" id="password2" value="" />
				</div>
				<input type="button" id="signin" value="Sign In" />
				<div id="registerresult"></div>
			</div>
			<br> <br> <br /> <br />
			<div id="chat">
				<div id="nameuser">
					<a href="#">Name Id</a>
				</div>
				<div class="calloutUp">
					<div class="calloutUp2"></div>
				</div>
				<textarea id="log"></textarea>
				<br /> <br />
				<textarea id="logother"></textarea>
				<div class="calloutDown">
					<div class="calloutDown2"></div>
				</div>
				<div id="Me">
					<a href="#">Name Id 2</a>
				</div>


				<!-- <div class="loginfo">
					<textarea id="loginfo"></textarea>
					<div class="logusers" id="buttonout"></div>
				</div> -->

			</div>
			<!-- <div class="logusers">
				<label class="cabecera" id="usersup">People Online</label>
				<div id="users"></div>
			</div> -->
			<div class="logusers" id="friendsini">
				<label class="cabecera" id="friendsup">Friends</label>
				<div id="friends"></div>
				<div id="rmfriends" style="display:none"></div>
			</div>
			
			<div class="search" id="search" style="display:none">				
					<input type="text" name="search" id="search_box" class='search_box' />				
					<div data-role="button" data-inline="true" id="btnsearch">Search</div><br />	
					<div id="resultsearch">
					
					</div>		
			</div>

		</div>
		<div id="popup" style="display: none;"></div>
		<div id="window" style="display: none;">
			<div id="popup_content">
				<div data-role="button" id="aceptar"></div>
				<div data-role="button" id="denegar"></div>
			</div>
		</div>
		<div data-role="footer" data-position="fixed">
			<h4>Footer content</h4>
		</div>
	</div>
	
</body>
</html>
